Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.stream.defaultConfig

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.stream.defaultConfig">
  <require>org.nuxeo.runtime.stream.service</require>
  <extension target="org.nuxeo.runtime.stream.service" point="logConfig">
        <logConfig name="default" type="chronicle">
        <option name="retention">4d</option>
      </logConfig>
  </extension>
  <require>org.nuxeo.ecm.platform.audit.service.NXAuditEventsService</require>
  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent" point="listener">
    <listener name="auditLoggerListener" async="false" postCommit="false" priority="500"
      class="org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener" />
  </extension>
  <extension target="org.nuxeo.runtime.stream.service" point="logConfig">
     <logConfig name="audit" type="chronicle">
       <option name="retention">4d</option>
     </logConfig>
  </extension>
  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="auditLogWriter" logConfig="audit" defaultConcurrency="1" defaultPartitions="1"
      class="org.nuxeo.ecm.platform.audit.impl.StreamAuditWriter">
      <option name="batchSize">25</option>
      <option name="batchTimeThresholdMs">500</option>
    </streamProcessor>
  </extension>
</component>